package com.hanson.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang.StringUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class UserBean {
    private Integer id;

    private String openId;

    private String accountName;

    private String userName;

    private String nickName;

    private String phone;

    private String headImg;

    private String province;

    private String country;

    private String city;

    private Integer gender;

    private String userType;
    
    private String password;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    private Integer score = 0;
    private Integer money = 0;
    private Integer isVip;
    private Integer isSpread;
    
    private String userSign;
    
    private Date signDate;
    
    private String agentId;
    
    private int serviceNumber;
    
    private int serviceScore;
    
    private int applyAgentStatus = -1;
    
    private int applyExpertStatus = -1;
    
    private String cityName;
    private String webMoney;
    private String search;
    private String verifyCode;
    private String identity;
    private String newPwd;
    private String newPwdOk;
}